package com.xq.shop.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author gaoxiaojin
 */
@Data
public class EditColumnDto {

    @NotNull(message = "id不能为空")
    private Integer id;

    /**
     * 图片id
     */
    @NotNull(message = "imageId不能为空")
    private Integer imageId;

    /**
     * 栏目名称
     */
    @NotBlank(message = "name不能为空")
    private String name;

    /**
     * 显示状态 1显示 0不显示
     */
    @NotNull(message = "mark不能为空")
    private Integer mark;

    private List<Integer> categoryIdList;
}
